]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: don't accidentally shift the tray around in the overview
authorSebastian Keller <sebastian-keller@gmx.de>
Sun, 18 Nov 2012 01:01:00 +0000 (02:01 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 20 Nov 2012 00:06:47 +0000 (01:06 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=688422

js/ui/messageTray.js

index 161749027698a03750da0cbd454d1d30488f9d51..8fbc0b232847dc6b8b0a531ca7217217bbb42acc 100644 (file)
@@ -2013,8 +2013,7 @@ const MessageTray = new Lang.Class({
         let summaryPinned = this._pointerInTray || summarySummoned || this._locked;
         let summaryHovered = this._pointerInTray || this._pointerInSummary;
 
-        let notificationsVisible = (this._notificationState == State.SHOWING ||
-                                    this._notificationState == State.SHOWN);
+        let notificationsVisible = this._notificationState != State.HIDDEN;
         let notificationsDone = !notificationsVisible && !notificationsPending;
 
         let summaryOptionalInOverview = this._overviewVisible && !this._locked && !summaryHovered;